import {FileType} from "@/types/file-upload";

export interface FileCacheType {
    id: number;
    filePath: string;
    serverUrl: string;
    fileMd5: string;
    fileType: FileType;
    fileSize: number;
    optional?: any;
    createTime: number;
}

export interface FileCacheCreateType  {
    filePath: string;
    serverUrl?: string;
    fileMd5: string;
    fileType: FileType;
    fileSize: number;
    optional?: any;
}

export interface FileCacheUpdateType {
    fileMd5: string;
    serverUrl?: string;
    optional?: any;
}